package domain

import (
	"context"
	"github.com/ztx/payment_project/common/genproto/orderpd"
)

type Processor interface {
	CreatePaymentLink(context.Context, *orderpd.Order) (string, error) //创建支付链接

}

type Order struct {
	ID          string
	CustomerID  string
	Status      string
	PaymentLink string
	Items       []*orderpd.Item
}
